package com.zjpavt.client.artnet.device;

public class SingleLight {
    public static final int SIZE_RGB = 3;
    public static final int SIZE_RGBW = 4;

    /**
     * 占据的通道数量
     */
    private int channelSize = SIZE_RGB;
    /**
     * 开始灯的序号
     */
    private int beginIndex;

    /**
     * 所在的域
     */
    private int universe;

    /**
     * 灯的颜色
     */
    private byte[] color;
    /**
     * @param beginIndex
     * @param universe
     */
    public SingleLight(int beginIndex, int universe) {
        this.beginIndex = beginIndex;
        this.universe = universe;
        this.color = ColorConst.WHITE10;
    }

    public byte[] getColor() {
        return color;
    }

    public void setColor(byte[] color) {
        this.color = color;
    }
}
